package se.kth.ict.id2203.pb;

import se.kth.ict.id2203.flp2p.Flp2pDeliver;
import se.sics.kompics.address.Address;

public class RequestMessage extends Flp2pDeliver {


	private static final long serialVersionUID = -5331739238195628826L;
	private final Address ReqSender;
	private final Address dataSource;
	private final long missing;
	private final int rounds;
	
	public RequestMessage(Address source, Address ReqSender, Address dataSource, long missing,	int rounds) {
		super(source);
		this.dataSource = dataSource;
		this.missing = missing;
		this.rounds = rounds;
		this.ReqSender = ReqSender;
	}

	public Address getDataSource() {
		return dataSource;
	}



	public long getMissing() {
		return missing;
	}



	public int getRounds() {
		return rounds;
	}

	public Address getReqSender() {
		return ReqSender;
	}


}
